reverse a string in javascript using loops

welcome to shbcf.ru